package com.example.recordingpen_datacollection.service;

import com.example.recordingpen_datacollection.entity.Query.UserDevQue;
import com.example.recordingpen_datacollection.entity.Query.UserListQue;
import com.example.recordingpen_datacollection.entity.UserMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.recordingpen_datacollection.entity.Vo.*;
import com.example.recordingpen_datacollection.result.RLIST;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xg
 * @since 2024-06-03
 */
public interface UserMessageService extends IService<UserMessage> {

    boolean setUserMessage(UserMessVo userMessVo,Integer adminId);

    boolean alterUserPass(Integer value, String newPass);

    RLIST getUserDev(UserDevQue userDevQue, Integer Uid);
    // 校验额度
    boolean verifyLimit(Integer value);

    boolean setUserMaxTime(UserMaxTimeVo userMaxTimeVo);

    boolean setUserLimitQuantity(UserLimitQuantityVo userLimitQuantityVo, UserMessage byId);

    RLIST getUserListPage(UserListQue userListQue);

    boolean setUserTimeLimit(UserTimeLimitVo userTimeLimitVo, UserMessage byId);
}
